package com.roc.service.white;

import java.io.File;
import java.util.Map;

import com.roc.bean.WhiteListBean;
import com.roc.pojo.Operators;
import com.roc.service.ServiceException;

public interface IWhiteService {
	/**
	 * 添加到白名单
	 * @param white
	 * @param op
	 * @return
	 * @throws ServiceException
	 */
	public int addWhiteList(WhiteListBean white,Operators op)throws ServiceException;
	/**
	 * 修改白名单
	 * @param white
	 * @param op
	 * @return
	 * @throws ServiceException
	 */
	public int updateWhiteList(WhiteListBean white,Operators op)throws ServiceException;
	/**
	 * 批量导入白名单
	 * @param white
	 * @param op
	 * @return
	 * @throws ServiceException
	 */
	public Map<String,Object> insertExportData(File file,Operators op)throws ServiceException;
	/**
	 * 根据商户号查找白名单
	 * @param mchtId
	 * @return
	 * @throws ServiceException
	 */
	public WhiteListBean findByWhiteNum(String mchtId)throws ServiceException;
}
